/*
 * @Author: wangdazhuang
 * @Date: 2025-02-17 18:53:50
 * @LastEditTime: 2025-02-17 19:44:25
 * @LastEditors: wangdazhuang
 * @Description: 
 * @FilePath: /pornhub_app/lib/sys_station_model/sys_station_model.dart
 */
import 'package:json2dart_safe/json2dart.dart';

class SysStationModel {
  String? id;
  int? stationId;
  String? createdAt;
  String? updatedAt;
  String? name;
  int? sortNum;
  int? type;

  SysStationModel.fromJson(Map<String, dynamic> json)
      : id = json.asString('id'),
        stationId = json.asInt('stationId'),
        createdAt = json.asString('createdAt'),
        updatedAt = json.asString('updatedAt'),
        name = json.asString('name'),
        sortNum = json.asInt('sortNum'),
        type = json.asInt('type');

  static dynamic toBean(dynamic json) => SysStationModel.fromJson(json);
}
